Developing Software Using A Novel Event-Condition-State Pattern Framework: Taking Mobile Input Method System As A Case Study

نویسندگان

  • Fei Zhu
  • Hongjun Diao
  • Wei Huang
چکیده

Design patterns add more reliability, flexibility and reusability to a software system. Taking advantage of design patterns is usually beneficial to software design and makes software development relatively easier. The state pattern proposed by GoF is not a determined design and can hardly be transformed into implementation code directly. It is disable to cope with sophisticated response event either. Hereby we propose a novel event-conditionstate pattern framework, an event-based finite state machine. The framework improves GoF state pattern by resegmenting Context into two classes, one for management and the other for operation interface. Essential components for implementation, such as management, state transferring, and event triggering mechanism, are also taken into consideration in the framework. We use pattern framework to develop a thirty party input method system which has a Windows Mobile system version and a Symbian system version separately. We rewrote Context part related with system interfaces in the two different systems, and encapsulated the part related with internal logic of input method by concrete subclasses, thus avoiding redundant developing work in both systems and providing convenience for later synchronous updating and maintenance of two input methods. With the pattern framework, much effort during software development is saved. The development logic seems simpler and clearer. As a result, the whole development process is simplified.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Developing Mobile Input Method System Using An Improved Design Pattern Approach

Popularity of operation system on mobile phone makes it possible to develop a third party input method system for it. However variety in mobile models and systems makes it difficult to develop a general input method for different models. As design pattern usually add reusability and flexibility to software development process, we propose an approach to develop input method for mobile using stat...

متن کامل

A novel risk-based analysis for the production system under epistemic uncertainty

Risk analysis of production system, while the actual and appropriate data is not available, will cause wrong system parameters prediction and wrong decision making. In uncertainty condition, there are no appropriate measures for decision making. In epistemic uncertainty, we are confronted by the lack of data. Therefore, in calculating the system risk, we encounter vagueness that we have to use ...

متن کامل

Projection of water supply and demand in Yazd province using the general regional equilibrium pattern in the 30-year horizon

Aims :Water is considered as one of the main sources for development in Iran, especially in the margin of desert. Its lack is one of the main limiting factors in the life of a society and the development of economic activities. Regarding the fundamental problems in urban water supply in Yazd province, combined management of water supply and demand in order to balance the future supply and dema...

متن کامل

Agent-Based Mobile Event Notification System

In recent years, the noticeable move towards using mobile devices (mobile phones and PDAs) and wireless technologies has made information available in the context of "anytime, anywhere using any mobile device" experience. Delivering information to mobile devices needs some sort of communication means such as Push, Pull, or mixed (Push and Pull) technologies to deliver any chunk of information (...

متن کامل

A Novel Noise-Robust Texture Classification Method Using Joint Multiscale LBP

In this paper we describe a novel noise-robust texture classification method using joint multiscale local binary pattern. The first step in texture classification is to describe the texture by extracting different features. So far, several methods have been developed for this topic, one of the most popular ones is Local Binary Pattern (LBP) method and its variants such as Completed Local Binary...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • JSW

دوره 6  شماره 

صفحات  -

تاریخ انتشار 2011